package com.gbq.dao;

import com.gbq.vo.Device;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;

@Mapper
public interface DeviceDao {

    public String selectBySn(String sn);

    public void updateDeviceStatus(@Param("validity") String validity,@Param("sn")String sn,@Param("updateTime")Date updateTime);

    public List<Device> select();

}
